import 'package:flutter/material.dart';
// import 'package:provide/provide.dart';
import '../model/test_model.dart';


class TestProvide with ChangeNotifier{
  var a = {"data":[{"test":12.2},{"test":11.0}]};
  
  setTestNumbe() async{
    List<Map> list = [{"test":12.2},{"test":11.0}];
    list.forEach((item)=>{
      // print(item['test'])
    });
    
    print('你好');
    TestModel.fromJson(a);
  notifyListeners();
  }
}
